home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Games #12
/
GEGA012.iso
/
Jogos de Azar
/
3card_poker.swf
/
scripts
/
DefineButton2_73
/
BUTTONCONDACTION on(release).as
< prev
Wrap
Text File
|
2006-01-17
|
1KB
|
31 lines
on(release){
stopDrag();
if(_droptarget eq "/PP")
{
set("_level0/:n",eval("_level0/:n") + "2");
set("_level0/:qd",eval("_level0/:qd") + "2");
cr = "cr" add eval("_level0/:n");
duplicateMovieClip("_level0/cr1",cr,eval("_level0/:qd") + 16384);
setProperty("_level0/cr" add eval("_level0/:n"), _X, "245.1");
setProperty("_level0/cr" add eval("_level0/:n"), _Y, "452.5");
set(cr add "_level0/:n",eval("_level0/:n"));
gotoAndStop(2);
}
if(_droptarget eq "/ANTE")
{
set("_level0/:n",eval("_level0/:n") + "2");
set("_level0/:qd",eval("_level0/:qd") + "2");
cr = "cr" add eval("_level0/:n");
duplicateMovieClip("_level0/cr1",cr,eval("_level0/:qd") + 16384);
setProperty("_level0/cr" add eval("_level0/:n"), _X, "245.1");
setProperty("_level0/cr" add eval("_level0/:n"), _Y, "452.5");
set(cr add "_level0/:n",eval("_level0/:n"));
gotoAndStop(3);
}
if(_droptarget ne "/ANTE" or _droptarget ne "/PP")
{
setProperty("_level0/cr" add eval("_level0/:n"), _X, "245.1");
setProperty("_level0/cr" add eval("_level0/:n"), _Y, "452.5");
}
}